import request from "@/utils/request";

export function login() {
    return new Promise(function (resolve, reject) {
        request.post('/token', { username: 'admin', password: '113' }).then(res => {
            resolve(res)
        }).catch(err => {
            reject(err)
        })
    })
}